package org.jeecg.modules.appuser.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.common.util.Date.DateUtil;
import org.jeecg.modules.appuser.constant.TaskNamesConstant;
import org.jeecg.modules.appuser.entity.TbUserIntegral;
import org.jeecg.modules.appuser.entity.TbUserIntegralConfigDetail;
import org.jeecg.modules.appuser.entity.Tb_user_contribution;
import org.jeecg.modules.appuser.mapper.Tb_user_contributionMapper;
import org.jeecg.modules.appuser.service.ITb_user_contributionService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description: 用户贡献值表
 * @Author: jeecg-boot
 * @Date:   2020-06-29
 * @Version: V1.0
 */
@Service
public class Tb_user_contributionServiceImpl extends ServiceImpl<Tb_user_contributionMapper, Tb_user_contribution> implements ITb_user_contributionService {



    @Override
    public Tb_user_contribution getOneByUserId(String user_id) {
        QueryWrapper queryWrapper=new QueryWrapper();
        queryWrapper.eq("user_id",user_id);
        return this.getOne(queryWrapper);
    }


}
